from_bytes

pure static function from_bytes(bytes: byte_array): gtv

Decodes a gtv from a byte_array. Fails if it cannod be decoded.

Since

0.9.0

Parameters

bytes

Bytes to decode.